package com.project.entity;/*
 *当前的项目名：project
 *当前编辑文件名：AwardInfo
 *当前用户的登录名：17673122251
 *当前系统日期：2022/5/5
 *当前系统时间：16:42
 */

import com.project.util.DBUtil;

import java.io.Serializable;
import java.util.Date;

public class AwardInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *获奖信息编号
     */
    @DBUtil.Id
    private Integer awardId;

    /**
     *参赛人员编号
     */
    private Integer sprotmanId;

    /**
     *体育项目编号
     */
    private Integer sportProjectId;

    /**
     *获奖名次
     */
    private Integer awardRank;

    /**
     *获奖成绩
     */
    private String awardGrades;

    /**
     *获奖日期
     */
    private java.util.Date awardDate;

    /**
     *无参构造方法
     */
    public AwardInfo() {
    }

    /**
     *有参构造方法
     */
    public AwardInfo(Integer awardId, Integer sprotmanId, Integer sportProjectId, Integer awardRank, String awardGrades, Date awardDate) {
        this.awardId = awardId;
        this.sprotmanId = sprotmanId;
        this.sportProjectId = sportProjectId;
        this.awardRank = awardRank;
        this.awardGrades = awardGrades;
        this.awardDate = awardDate;
    }

    /**
     *主键构造方法
     */
    public AwardInfo(Integer awardId) {
        this.awardId = awardId;
    }

    public Integer getAwardId() {
        return awardId;
    }

    public void setAwardId(Integer awardId) {
        this.awardId = awardId;
    }

    public Integer getSprotmanId() {
        return sprotmanId;
    }

    public void setSprotmanId(Integer sprotmanId) {
        this.sprotmanId = sprotmanId;
    }

    public Integer getSportProjectId() {
        return sportProjectId;
    }

    public void setSportProjectId(Integer sportProjectId) {
        this.sportProjectId = sportProjectId;
    }

    public Integer getAwardRank() {
        return awardRank;
    }

    public void setAwardRank(Integer awardRank) {
        this.awardRank = awardRank;
    }

    public String getAwardGrades() {
        return awardGrades;
    }

    public void setAwardGrades(String awardGrades) {
        this.awardGrades = awardGrades;
    }

    public Date getAwardDate() {
        return awardDate;
    }

    public void setAwardDate(Date awardDate) {
        this.awardDate = awardDate;
    }

    @Override
    public String toString() {
        return "AwardInfo{" +
                "awardId=" + awardId +
                ", sprotmanId=" + sprotmanId +
                ", sportProjectId=" + sportProjectId +
                ", awardRank=" + awardRank +
                ", awardGrades='" + awardGrades + '\'' +
                ", awardDate=" + awardDate +
                '}';
    }
}
